from 查找没用的图片 import listDir,isInfile
# //MARK: - custom mehtods
# BaiduMobStat
# changeTopConstraint()
if __name__ == "__main__":
    str = "BaiduMobStat"
    allSourceFiles = listDir('/Users/wangshuguan/Workplace/zhengwutong3/zhengwutong',extensions=["swift"],reuslts = [])
    nofiles = []
    for filepath in allSourceFiles:
        if isInfile(filepath,str) == False and filepath.find("ViewController") != -1:
            nofiles.append(filepath)
            print(filepath)